Optimal. Leaf size=310 \[ -\frac {\sqrt {a+b x+c x^2}}{12 c^3 d^5 \sqrt {b d+2 c d x}}-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}+\frac {\left (b^2-4 a c\right )^{3/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{12 c^4 d^{11/2} \sqrt {a+b x+c x^2}}-\frac {\left (b^2-4 a c\right )^{3/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{12 c^4 d^{11/2} \sqrt {a+b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 310, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 7, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {698, 705, 704,
313, 227, 1213, 435} \begin {gather*} -\frac {\left (b^2-4 a c\right )^{3/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\text {ArcSin}\left (\frac {\sqrt {b d+2 c x d}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{12 c^4 d^{11/2} \sqrt {a+b x+c x^2}}+\frac {\left (b^2-4 a c\right )^{3/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\left .\text {ArcSin}\left (\frac {\sqrt {b d+2 c x d}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{12 c^4 d^{11/2} \sqrt {a+b x+c x^2}}-\frac {\sqrt {a+b x+c x^2}}{12 c^3 d^5 \sqrt {b d+2 c d x}}-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 227
Rule 313
Rule 435
Rule 698
Rule 704
Rule 705
Rule 1213
Rubi steps
\begin {align*} \int \frac {\left (a+b x+c x^2\right )^{5/2}}{(b d+2 c d x)^{11/2}} \, dx &=-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}+\frac {5 \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^{7/2}} \, dx}{18 c d^2}\\ &=-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}+\frac {\int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^{3/2}} \, dx}{12 c^2 d^4}\\ &=-\frac {\sqrt {a+b x+c x^2}}{12 c^3 d^5 \sqrt {b d+2 c d x}}-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}+\frac {\int \frac {\sqrt {b d+2 c d x}}{\sqrt {a+b x+c x^2}} \, dx}{24 c^3 d^6}\\ &=-\frac {\sqrt {a+b x+c x^2}}{12 c^3 d^5 \sqrt {b d+2 c d x}}-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}+\frac {\sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} \int \frac {\sqrt {b d+2 c d x}}{\sqrt {-\frac {a c}{b^2-4 a c}-\frac {b c x}{b^2-4 a c}-\frac {c^2 x^2}{b^2-4 a c}}} \, dx}{24 c^3 d^6 \sqrt {a+b x+c x^2}}\\ &=-\frac {\sqrt {a+b x+c x^2}}{12 c^3 d^5 \sqrt {b d+2 c d x}}-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}+\frac {\sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} \text {Subst}\left (\int \frac {x^2}{\sqrt {1-\frac {x^4}{\left (b^2-4 a c\right ) d^2}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{12 c^4 d^7 \sqrt {a+b x+c x^2}}\\ &=-\frac {\sqrt {a+b x+c x^2}}{12 c^3 d^5 \sqrt {b d+2 c d x}}-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}-\frac {\left (\sqrt {b^2-4 a c} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^4}{\left (b^2-4 a c\right ) d^2}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{12 c^4 d^6 \sqrt {a+b x+c x^2}}+\frac {\left (\sqrt {b^2-4 a c} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {1+\frac {x^2}{\sqrt {b^2-4 a c} d}}{\sqrt {1-\frac {x^4}{\left (b^2-4 a c\right ) d^2}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{12 c^4 d^6 \sqrt {a+b x+c x^2}}\\ &=-\frac {\sqrt {a+b x+c x^2}}{12 c^3 d^5 \sqrt {b d+2 c d x}}-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}-\frac {\left (b^2-4 a c\right )^{3/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{12 c^4 d^{11/2} \sqrt {a+b x+c x^2}}+\frac {\left (\sqrt {b^2-4 a c} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {x^2}{\sqrt {b^2-4 a c} d}}}{\sqrt {1-\frac {x^2}{\sqrt {b^2-4 a c} d}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{12 c^4 d^6 \sqrt {a+b x+c x^2}}\\ &=-\frac {\sqrt {a+b x+c x^2}}{12 c^3 d^5 \sqrt {b d+2 c d x}}-\frac {\left (a+b x+c x^2\right )^{3/2}}{18 c^2 d^3 (b d+2 c d x)^{5/2}}-\frac {\left (a+b x+c x^2\right )^{5/2}}{9 c d (b d+2 c d x)^{9/2}}+\frac {\left (b^2-4 a c\right )^{3/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{12 c^4 d^{11/2} \sqrt {a+b x+c x^2}}-\frac {\left (b^2-4 a c\right )^{3/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{12 c^4 d^{11/2} \sqrt {a+b x+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.06, size = 109, normalized size = 0.35 \begin {gather*} -\frac {\left (b^2-4 a c\right )^2 \sqrt {d (b+2 c x)} \sqrt {a+x (b+c x)} \, _2F_1\left (-\frac {5}{2},-\frac {9}{4};-\frac {5}{4};\frac {(b+2 c x)^2}{b^2-4 a c}\right )}{288 c^3 d^6 (b+2 c x)^5 \sqrt {\frac {c (a+x (b+c x))}{-b^2+4 a c}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1488\) vs.
\(2(260)=520\).
time = 0.79, size = 1489, normalized size = 4.80
method | result | size |
elliptic | \(\frac {\sqrt {d \left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )}\, \left (-\frac {\left (16 a^{2} c^{2}-8 a c \,b^{2}+b^{4}\right ) \sqrt {2 c^{2} d \,x^{3}+3 b c d \,x^{2}+2 a c d x +b^{2} d x +a b d}}{4608 c^{8} d^{6} \left (x +\frac {b}{2 c}\right )^{5}}-\frac {\left (4 a c -b^{2}\right ) \sqrt {2 c^{2} d \,x^{3}+3 b c d \,x^{2}+2 a c d x +b^{2} d x +a b d}}{288 c^{6} d^{6} \left (x +\frac {b}{2 c}\right )^{3}}-\frac {5 \left (2 c^{2} d \,x^{2}+2 x b c d +2 a c d \right )}{96 c^{4} d^{6} \sqrt {\left (x +\frac {b}{2 c}\right ) \left (2 c^{2} d \,x^{2}+2 x b c d +2 a c d \right )}}+\frac {b \left (\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}\right ) \sqrt {\frac {x +\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}{\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}}\, \sqrt {\frac {x +\frac {b}{2 c}}{-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b}{2 c}}}\, \sqrt {\frac {x -\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}}{-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}-\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}}}\, \EllipticF \left (\sqrt {\frac {x +\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}{\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}}, \sqrt {\frac {-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}-\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}}{-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b}{2 c}}}\right )}{12 d^{5} c^{3} \sqrt {2 c^{2} d \,x^{3}+3 b c d \,x^{2}+2 a c d x +b^{2} d x +a b d}}+\frac {\left (\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}\right ) \sqrt {\frac {x +\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}{\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}}\, \sqrt {\frac {x +\frac {b}{2 c}}{-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b}{2 c}}}\, \sqrt {\frac {x -\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}}{-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}-\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}}}\, \left (\left (-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b}{2 c}\right ) \EllipticE \left (\sqrt {\frac {x +\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}{\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}}, \sqrt {\frac {-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}-\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}}{-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b}{2 c}}}\right )-\frac {b \EllipticF \left (\sqrt {\frac {x +\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}{\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}}}, \sqrt {\frac {-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}-\frac {-b +\sqrt {-4 a c +b^{2}}}{2 c}}{-\frac {b +\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b}{2 c}}}\right )}{2 c}\right )}{6 c^{2} d^{5} \sqrt {2 c^{2} d \,x^{3}+3 b c d \,x^{2}+2 a c d x +b^{2} d x +a b d}}\right )}{\sqrt {d \left (2 c x +b \right )}\, \sqrt {c \,x^{2}+b x +a}}\) | \(1144\) |
default | \(\text {Expression too large to display}\) | \(1489\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.53, size = 284, normalized size = 0.92 \begin {gather*} -\frac {3 \, \sqrt {2} {\left (32 \, c^{5} x^{5} + 80 \, b c^{4} x^{4} + 80 \, b^{2} c^{3} x^{3} + 40 \, b^{3} c^{2} x^{2} + 10 \, b^{4} c x + b^{5}\right )} \sqrt {c^{2} d} {\rm weierstrassZeta}\left (\frac {b^{2} - 4 \, a c}{c^{2}}, 0, {\rm weierstrassPInverse}\left (\frac {b^{2} - 4 \, a c}{c^{2}}, 0, \frac {2 \, c x + b}{2 \, c}\right )\right ) + {\left (60 \, c^{5} x^{4} + 120 \, b c^{4} x^{3} + 3 \, b^{4} c + 2 \, a b^{2} c^{2} + 4 \, a^{2} c^{3} + 2 \, {\left (43 \, b^{2} c^{3} + 8 \, a c^{4}\right )} x^{2} + 2 \, {\left (13 \, b^{3} c^{2} + 8 \, a b c^{3}\right )} x\right )} \sqrt {2 \, c d x + b d} \sqrt {c x^{2} + b x + a}}{36 \, {\left (32 \, c^{9} d^{6} x^{5} + 80 \, b c^{8} d^{6} x^{4} + 80 \, b^{2} c^{7} d^{6} x^{3} + 40 \, b^{3} c^{6} d^{6} x^{2} + 10 \, b^{4} c^{5} d^{6} x + b^{5} c^{4} d^{6}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b x + c x^{2}\right )^{\frac {5}{2}}}{\left (d \left (b + 2 c x\right )\right )^{\frac {11}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (c\,x^2+b\,x+a\right )}^{5/2}}{{\left (b\,d+2\,c\,d\,x\right )}^{11/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________